package edu.liushao.controller;

import edu.liushao.service.TeacherService;

/**
 * @program: untitled
 * @ClassName Teacher
 * @description:
 * @author: 刘庆东
 * @create: 2024−11-27 14:57
 * @Version 1.0
 **/

public class TeacherController {

    private TeacherService teacherService;

    public TeacherService getTeacherService() {
        return teacherService;
    }

    public void setTeacherService(TeacherService teacherService) {
        this.teacherService = teacherService;
    }

    public void show(){
        System.out.println("我是 controller ....");
        teacherService.add();
    }
}
